(mail-do-fcc): Put back the newline at the start
authorRichard M. Stallman <rms@gnu.org>
Mon, 31 May 1993 04:21:15 +0000 (04:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 31 May 1993 04:21:15 +0000 (04:21 +0000)
of the fcc temp buffer.  It got lost somewhere.

lisp/mail/sendmail.el

index d12d77ed2c8d1321228a792cd7713e21842e72b7..9597b9269b668b7e7aa70087c5fdf5717754e8fc 100644 (file)
@@ -379,7 +379,8 @@ the user from the mailer."
                               (% abs 60))))
       (set-buffer tembuf)
       (erase-buffer)
-      (insert "From " (user-login-name) " "
+      ;; This initial newline is written out if the fcc file already exists.
+      (insert "\nFrom " (user-login-name) " "
              (current-time-string time) "\n")
       ;; Insert the time zone before the year.
       (forward-char -1)
@@ -433,6 +434,7 @@ the user from the mailer."
            ;; Else append to the file directly.
            (write-region
             ;; Include a blank line before if file already exists.
+
             (if (file-exists-p (car fcc-list)) (point-min) (1+ (point-min)))
             (point-max) (car fcc-list) t)))
        (setq fcc-list (cdr fcc-list))))